﻿using mozhi.smarterp.BasicData.Organizations;
using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.BasicData.Units
{
    public interface IUnitAppService : IApplicationService
    {
        Task<UnitDto> GetAsync(Guid id);

        Task<UnitDto> CreateAsync(UnitCreateDto input);

        Task<UnitDto> UpdateAsync(UnitUpdateDto input);

        Task<PagedResultDto<UnitDto>> GetListAsync(PagedResultRequestDto filter);

        Task DeleteAsync(Guid id);
    }
}
